<ul class="courses-list">
<?php foreach($notes as $note):?>
	<li>
		<h3><?php echo $note->getCourse()->getSubject()->getName().' '.$note->getCourse()->getSection()?>: <a href="<?php echo url_for('notes/show').'?id='.$note->getId()?>"> Lecture <?php  echo $note->getNumber()?> - <?php echo $note->getTopic()?></a></h3>
		<div class="details">
			<p><?php echo $note->getSummary()?></p>
			
			<?php include_component('ratings','show', array('obj'=>$note))?>
			
			<!--<p class="stars two"><span>2 stars</span><a href="#">3<span> comments</span></a></p>-->
		</div>
	</li>	
<?php endforeach?>
</ul>